﻿using DAL;

namespace BLL
{
    public class Admin_BLL
    {
        public Admin_BLL(Admin_DAL dal)
        {
            Dal = dal;
        }

        public Admin_DAL Dal { get; }


        /// <summary>
        /// 管理员登录
        /// </summary>
        /// <param name="Name"></param>
        /// <param name="Pwd"></param>
        /// <returns></returns>
        public int Login(string? Name, string? Pwd)
        {
           return Dal.Login(Name, Pwd); 
           
        }
    }
}
